Fix native compilation for circular immediates (bug#67883)
authorAndrea Corallo <acorallo@gnu.org>
Sun, 24 Mar 2024 10:29:37 +0000 (11:29 +0100)
committerAndrea Corallo <acorallo@gnu.org>
Sun, 24 Mar 2024 11:16:11 +0000 (12:16 +0100)
commitc5de73a95a6ecefe46fe1ac07da8e83032be7f5b
tree32f75f1f1c54e71a1c2d009199121619e975d8c7
parent30b1b0d7cd8e4d46a601e9737350cda970f6bab0
Fix native compilation for circular immediates (bug#67883)

* test/src/comp-resources/comp-test-funcs.el
(comp-test-67883-1-f): New function.

* lisp/emacs-lisp/comp.el (comp--collect-rhs)
(comp--ssa-rename-insn): Handle setimm aside to avoid unnecessary
immediate manipulation.
(comp--copy-insn-rec): Rename.
(comp--copy-insn): New function.
(comp--dead-assignments-func): Handle setimm aside to avoid
unnecessary.
lisp/emacs-lisp/comp.el
test/src/comp-resources/comp-test-funcs.el